package com.sean.findme.search;

import android.app.ActivityGroup;
import android.content.Context;

import com.sean.findme.FmActivityInfo;
import com.sean.findme.FmActivityManager;

public class SearchActivityManager extends FmActivityManager{
	
	private Context mContext;
	private static SearchActivityManager instance;

	public SearchActivityManager(Context mContext) {
		super(mContext);
		mContext = mContext;
		instance = this;
	}
	
	
	public static SearchActivityManager getInstance()
	{
		if( instance == null )
			instance = new SearchActivityManager(null);
		return instance;
	}


	@Override
	public void configFirstActivity(Context mContext) {
		FmActivityInfo info = new FmActivityInfo(SearchMainActivity.class, (ActivityGroup)mContext, null);
		this.getListActivityInfo().push(info);
		super.configFirstActivity(mContext);
	}
	
	
}
